package com.atguigu.gmall.product.service;

import io.minio.errors.InvalidEndpointException;
import io.minio.errors.InvalidPortException;
import org.springframework.web.multipart.MultipartFile;

/**
 * @author lhh
 * @ClassName FileService
 * @date 2022 2022/12/1
 */

public interface FileService {
    /**
     * 上传图片
     * @param file
     * @return
     */
    String fileUpload(MultipartFile file) throws Exception;
}
